package com.lcj.crawler;

import com.geccocrawler.gecco.annotation.Href;
import com.geccocrawler.gecco.annotation.HtmlField;
import com.geccocrawler.gecco.annotation.Text;
import com.geccocrawler.gecco.spider.HtmlBean;

public class ZptCompanyRecruit implements HtmlBean {

    @Text
    @HtmlField(cssPath = "div:eq(1) > a")
    private String companyName;

    @Text
    @HtmlField(cssPath = "div:eq(0) > a")
    private String recruitName;

    @Text
    @HtmlField(cssPath = "div:eq(0) > a > span")
    private String recruitName2;

    @Text
    @HtmlField(cssPath = "div:eq(2) > span")
    private String salary;

    @Text
    @HtmlField(cssPath = "div:eq(3)")
    private String address;

    @Href
    @HtmlField(cssPath = "div:eq(0) > a")
    private String recruitUrl;

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getRecruitName() {
        return recruitName;
    }

    public void setRecruitName(String recruitName) {
        this.recruitName = recruitName;
    }

    public String getSalary() {
        return salary;
    }

    public void setSalary(String salary) {
        this.salary = salary;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getRecruitUrl() {
        return recruitUrl;
    }

    public void setRecruitUrl(String recruitUrl) {
        this.recruitUrl = recruitUrl;
    }

    public String getRecruitName2() {
        return recruitName2;
    }

    public void setRecruitName2(String recruitName2) {
        this.recruitName2 = recruitName2;
    }
}
